package com.one.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Create on 2022-01-18
 * <p>
 * Author: LiangWei
 * <p>
 * Description:
 **/
@ApiModel(value="RushBuyInfoVo",description = "商户抢购信息入参实体")
@Data
public class RushBuyInfoVo {
    /**
     * 商户选择的商品id
     */
    @ApiModelProperty(value="商品id")
    private Integer productId;
    /**
     * 商品价格，商户定义的redis中的价格
     */
    @ApiModelProperty(value="商品价格")
    private BigDecimal price;
    /**
     * 商品库存，取一部分进入redis库存
     */
    @ApiModelProperty(value="商品库存")
    private Integer stockCount;
}
